package com.xy.core.service.impl;


import java.util.Date;
import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.xy.common.page.Pagination;
import com.xy.core.dao.TdictionayDao;
import com.xy.core.model.Tdictionay;
import com.xy.core.service.TdictionayService;
import com.xy.core.util.BeanUtil;

@Service
@Transactional
public class TdictionayServiceImpl extends BaseServiceImpl<Tdictionay> implements
		TdictionayService {
	private TdictionayDao tdictionayDao;

	public TdictionayServiceImpl(TdictionayDao paramAppRoleDao) {
		super(paramAppRoleDao);
		this.tdictionayDao = paramAppRoleDao;
	}

	@Override
	public boolean checkExist(String paraName, String paraValue) {
		return tdictionayDao.checkExist("Tdictionay", paraName, paraValue);
	}

	@Override
	public List<Tdictionay> getTdictionay(Map<String, Object> map) {
		return tdictionayDao.getTdictionay(map);
	}
	@Override
	public Pagination getTdictionayByPage(Map<String, Object> map, int pageNo,
			int pageSize) {
		// TODO Auto-generated method stub
		return tdictionayDao.getTdictionayByPage(map, pageNo, pageSize);
	}
	 
   @Override
	public Tdictionay save(Tdictionay tdictionay) {return super.save(tdictionay);}
}